package com.tdcoding.chat.entities;

import java.util.List;

import io.protostuff.Tag;

public class GroupInfo extends BaseInfo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Tag(value = 7)
	private long groupId;
	@Tag(value = 8)
	private int isMember; // 是否群成员
	@Tag(value = 9)
	private int groupType;
	@Tag(value = 10)
	private String groupName;
	@Tag(value = 11)
	private String groupLogo;
	@Tag(value = 12)
	private String gNickName;
	@Tag(value = 13)
	private String groupIntro;
	@Tag(value = 14)
	private String groupNotice;
	@Tag(value = 15)
	private int identity; // 群成员身份
	@Tag(value = 16)
	private int allowJoin; // 是否允许加群，0允许；1不允许
	@Tag(value = 17)
	private int isSilence; // 群禁言（0否；1是）
	@Tag(value = 18)
	private int isMSilence; // 成员禁言（0否；1是）
	@Tag(value = 19)
	private int groupLevel; // 群级别
	@Tag(value = 20)
	private long belongId; // 群主id
	@Tag(value = 21)
	private String belongName;// 群主名
	@Tag(value = 22)
	private int memberCount; // 群成员数
	@Tag(value = 23)
	private RegionInfo regionInfo;// 群所属地区
	@Tag(value = 24)
	private List<MemberInfo> memberInfos; // 六个成员
	@Tag(value = 25)
	private String createDate; // 创建时间
	@Tag(value = 26)
	private String modifiedDate;// 修改时间

	public long getGroupId() {
		return groupId;
	}

	public void setGroupId(long groupId) {
		this.groupId = groupId;
	}

	public int getIsMember() {
		return isMember;
	}

	public void setIsMember(int isMember) {
		this.isMember = isMember;
	}

	public int getGroupType() {
		return groupType;
	}

	public void setGroupType(int groupType) {
		this.groupType = groupType;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupLogo() {
		return groupLogo;
	}

	public void setGroupLogo(String groupLogo) {
		this.groupLogo = groupLogo;
	}

	public String getGNickName() {
		return gNickName;
	}

	public void setGNickName(String gNickName) {
		this.gNickName = gNickName;
	}

	public String getGroupIntro() {
		return groupIntro;
	}

	public void setGroupIntro(String groupIntro) {
		this.groupIntro = groupIntro;
	}

	public String getGroupNotice() {
		return groupNotice;
	}

	public void setGroupNotice(String groupNotice) {
		this.groupNotice = groupNotice;
	}

	public int getIdentity() {
		return identity;
	}

	public void setIdentity(int identity) {
		this.identity = identity;
	}

	public int getAllowJoin() {
		return allowJoin;
	}

	public void setAllowJoin(int allowJoin) {
		this.allowJoin = allowJoin;
	}

	public int getIsSilence() {
		return isSilence;
	}

	public void setIsSilence(int isSilence) {
		this.isSilence = isSilence;
	}

	public int getIsMSilence() {
		return isMSilence;
	}

	public void setIsMSilence(int isMSilence) {
		this.isMSilence = isMSilence;
	}

	public int getGroupLevel() {
		return groupLevel;
	}

	public void setGroupLevel(int groupLevel) {
		this.groupLevel = groupLevel;
	}

	public long getBelongId() {
		return belongId;
	}

	public void setBelongId(long belongId) {
		this.belongId = belongId;
	}

	public String getBelongName() {
		return belongName;
	}

	public void setBelongName(String belongName) {
		this.belongName = belongName;
	}

	public int getMemberCount() {
		return memberCount;
	}

	public void setMemberCount(int memberCount) {
		this.memberCount = memberCount;
	}

	public RegionInfo getRegionInfo() {
		return regionInfo;
	}

	public void setRegionInfo(RegionInfo regionInfo) {
		this.regionInfo = regionInfo;
	}

	public List<MemberInfo> getMemberInfos() {
		return memberInfos;
	}

	public void setMemberInfos(List<MemberInfo> memberInfos) {
		this.memberInfos = memberInfos;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(String modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	@Override
	public String toString() {
		return "GroupInfo [groupId=" + groupId + ", isMember=" + isMember + ", groupType=" + groupType + ", groupName="
				+ groupName + ", groupLogo=" + groupLogo + ", gNickName=" + gNickName + ", groupIntro=" + groupIntro
				+ ", groupNotice=" + groupNotice + ", identity=" + identity + ", allowJoin=" + allowJoin
				+ ", isSilence=" + isSilence + ", isMSilence=" + isMSilence + ", groupLevel=" + groupLevel
				+ ", belongId=" + belongId + ", belongName=" + belongName + ", memberCount=" + memberCount
				+ ", regionInfo=" + regionInfo + ", memberInfos=" + memberInfos + ", createDate=" + createDate
				+ ", modifiedDate=" + modifiedDate + "]";
	}

}
